/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.chl.sasanf.crud;

import edu.chl.sasanf.jpa.nbp.Product;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author hansena
 */
//@Local
public interface IDatabase {

    void create(Product product);

    void edit(Product product);

    void remove(Product product);

    Product find(Object id);

    List<Product> findAll();

    List<Product> findRange(int[] range);

    int count();

}
